package com.huanke.iot.base.dao.device;

import com.huanke.iot.base.dao.BaseMapper;
import com.huanke.iot.base.po.device.DeviceDataHistoryPo;
import com.huanke.iot.base.po.device.DeviceMacPo;
import com.huanke.iot.base.po.device.DevicePo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DeviceDataHistoryMapper extends BaseMapper<DeviceDataHistoryPo>{
    List<DeviceDataHistoryPo> selectByHisDir(@Param("hisDir") String hisDir);

    List<DeviceDataHistoryPo> selectByDeviceId(@Param("deviceId") Integer deviceId, @Param("limit") Integer limit, @Param("offset") Integer offset);
}
